package org.twnmayberry.dao;

import java.util.List;

import javax.persistence.EntityManager;

import org.twnmayberry.bo.Activity;
import org.twnmayberry.bo.POI;

public interface POIDAO {

	public POI getPOIByID(long id);
	
	public List<POI> getPOIsByFirstMiddleLastName(String firstName, String middleName, String lastName);
	
	public List<POI> getPOIsByAlias(POI alias);
	
	public List<POI> getPOIsByActivity(Activity active);
	
	public void createPOI(POI newPOI);
	
	public boolean deletePOI(POI deadPOI);
	
	public long purgePOIs();

	public void updatePOI(POI tempPOI);

	public void setEntityManager(EntityManager em);

	public List<POI> getAllPOIs();
	
}
